<jdoc:include type="head" />
<?php JHTML::_('behavior.mootools'); ?>

<link rel="stylesheet" href="<?php echo $this->baseurl(); ?>templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl(); ?>templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->templateurl(); ?>/css/addons.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->templateurl(); ?>/css/layout.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->templateurl(); ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->templateurl(); ?>/css/typo.css" type="text/css" />
<script type="text/javascript">
	//<![CDATA[
	document.write('<link rel="stylesheet" type="text/css" href="<?php echo $this->templateurl(); ?>/css/css3.css" media="all" \/>');
	//]]>
</script>


<!--[if IE]>
<link rel="stylesheet" href="<?php echo $this->templateurl(); ?>/css/ie.css" type="text/css" />
<![endif]-->

<!--[if lt IE 7.0]>
<link rel="stylesheet" href="<?php echo $this->templateurl(); ?>/css/ie7minus.css" type="text/css" />
<![endif]-->

<!--[if IE 7.0]>
<style>
.clearfix {
	display: inline-block; /* IE7xhtml*/
}
</style>
<![endif]-->

<script type="text/javascript">
var siteurl='<?php echo $this->baseurl();?>';
var tmplurl='<?php echo $this->templateurl();?>';
</script>

<script language="javascript" type="text/javascript" src="<?php echo $this->templateurl(); ?>/js/ja.script.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo $this->templateurl(); ?>/js/ja.ddmod.js"></script>

<?php if ($this->getParam('ja_cufon')) : ?>
<!-- <script language="javascript" type="text/javascript" src="<?php echo $this->templateurl(); ?>/libs/cufon/js/cufon-yui.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo $this->templateurl(); ?>/libs/cufon/fonts/Bebas_400.font.js"></script> 
<script type="text/javascript">
	Cufon.replace(
		'.ja-slide-desc .title, h1.componentheading, .blog .componentheading, .blog .contentheading, div.moduletable h3, div.moduletable_default h3, div.moduletable_menu h3, div.moduletable_text h3, div.moduletable_hilite h3',
		{ fontFamily: 'Bebas' }
	);
	
	Cufon.replace(
		'.jav-search span.jav-search-title, .jav-search .button, .jav-has-votes h4',
		{ fontFamily: 'Bebas' }
	);
	
	Cufon.replace(
		'.ja-slide-desc h3',
		{ fontFamily: 'Bebas', color: '#fff' }
	);
	
	Cufon.replace (
		'.logo-text h1',
		{ fontFamily: 'Bebas', color: '-linear-gradient(#fff, #bbb, #fff)', textShadow: '#ccc 1px 1px' }
	);
</script> -->
<?php endif; ?>

<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenuHead (); ?>

<link href="<?php echo $this->templateurl(); ?>/css/colors/<?php echo strtolower ($this->getParam(JA_TOOL_COLOR)); ?>.css" rel="stylesheet" type="text/css" />

<?php if ($this->isIE()) {  ?>

<link href="<?php echo $this->templateurl(); ?>/css/ie.php" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]>
<link href="<?php echo $this->templateurl(); ?>/css/colors/<?php echo strtolower ($this->getParam(JA_TOOL_COLOR)); ?>-ie6.php" rel="stylesheet" type="text/css" />
<script type="text/javascript">
window.addEvent ('load', makeTransBG);
function makeTransBG() {
makeTransBg($$('img'));
}
</script>
<![endif]-->
<?php } ?>